﻿@model GameSchool.Models.dbLINQ.NotificationModel

<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Notaðu formið að neðan til að búa til nýja tilkynningu</legend>

        @Html.HiddenFor(model => model.ID)
        @Html.HiddenFor(model => model.CourseID)

        <div class="editor-label">
            @Html.Label("Texti")
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Text)
        </div>

        <p>
            <input class="SaveChanges" type="submit" value="Vista" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
